Calling this method will return a Documents collection object of all documents in the current search results. If you wish to give your users a choice of what to enumerate, use FetchPrompt.
This is one of the preferred methods of enumerating the result set.
Function()
The example below enumerates all the documents in the search results and outputs their filenames to a file called "c:\output.txt".
Set FSO = CreateObject("Scripting.FileSystemObject") Set Output = FSO.CreateTextFile("c:\output.txt", True) For Each Document in App.ActiveTab.FetchAll Output.WriteLine Document.AbsoluteFilename Next